home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13538 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 75 6b 79 2e 65 |Path: ne|ws.uky.e|
|00000010| 64 75 21 6e 65 77 73 0a | 46 72 6f 6d 3a 20 72 61 |du!news.|From: ra|
|00000020| 76 65 6e 67 65 72 40 63 | 72 69 73 2e 63 6f 6d 0a |venger@c|ris.com.|
|00000030| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000040| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 53 75 62 6a 65 63 |.lang.c+|+.Subjec|
|00000050| 74 3a 20 52 65 3a 20 57 | 68 61 74 20 69 73 20 52 |t: Re: W|hat is R|
|00000060| 45 54 55 52 4e 20 28 69 | 6e 20 43 2b 2b 29 20 20 |ETURN (i|n C++) |
|00000070| 69 6e 20 41 73 73 65 6d | 62 6c 65 72 20 63 6f 64 |in Assem|bler cod|
|00000080| 65 3f 0a 44 61 74 65 3a | 20 32 35 20 4d 61 72 20 |e?.Date:| 25 Mar |
|00000090| 31 39 39 36 20 31 36 3a | 33 36 3a 32 39 20 47 4d |1996 16:|36:29 GM|
|000000a0| 54 0a 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|000000b0| 55 6e 69 76 65 72 73 69 | 74 79 20 6f 66 20 4b 65 |Universi|ty of Ke|
|000000c0| 6e 74 75 63 6b 79 20 43 | 6f 6d 70 75 74 69 6e 67 |ntucky C|omputing|
|000000d0| 20 53 65 72 76 69 63 65 | 73 0a 4d 65 73 73 61 67 | Service|s.Messag|
|000000e0| 65 2d 49 44 3a 20 3c 34 | 6a 36 69 32 64 24 68 76 |e-ID: <4|j6i2d$hv|
|000000f0| 6d 40 73 65 72 76 69 63 | 65 32 2e 75 6b 79 2e 65 |m@servic|e2.uky.e|
|00000100| 64 75 3e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |du>.Refe|rences: |
|00000110| 3c 34 6a 36 31 38 37 24 | 6a 39 6d 40 70 72 6f 6d |<4j6187$|j9m@prom|
|00000120| 65 74 68 65 75 73 2e 61 | 6c 67 6f 6e 65 74 2e 73 |etheus.a|lgonet.s|
|00000130| 65 3e 0a 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |e>.NNTP-|Posting-|
|00000140| 48 6f 73 74 3a 20 31 32 | 38 2e 31 36 33 2e 33 30 |Host: 12|8.163.30|
|00000150| 2e 37 30 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |.70.Mime|-Version|
|00000160| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|00000170| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|00000180| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|00000190| 0a 43 6f 6e 74 65 6e 74 | 2d 54 72 61 6e 73 66 65 |.Content|-Transfe|
|000001a0| 72 2d 45 6e 63 6f 64 69 | 6e 67 3a 20 37 62 69 74 |r-Encodi|ng: 7bit|
|000001b0| 0a 58 2d 4d 61 69 6c 65 | 72 3a 20 4d 6f 7a 69 6c |.X-Maile|r: Mozil|
|000001c0| 6c 61 20 31 2e 32 32 20 | 28 57 69 6e 64 6f 77 73 |la 1.22 |(Windows|
|000001d0| 3b 20 49 3b 20 31 36 62 | 69 74 29 0a 54 6f 3a 20 |; I; 16b|it).To: |
|000001e0| 65 6e 67 65 6c 62 72 74 | 40 61 6c 67 6f 6e 65 74 |engelbrt|@algonet|
|000001f0| 2e 73 65 0a 0a 65 6e 67 | 65 6c 62 72 74 40 61 6c |.se..eng|elbrt@al|
|00000200| 67 6f 6e 65 74 2e 73 65 | 20 28 42 65 72 74 69 6c |gonet.se| (Bertil|
|00000210| 20 45 6e 67 65 6c 62 65 | 72 74 29 20 77 72 6f 74 | Engelbe|rt) wrot|
|00000220| 65 3a 0a 3e 49 20 68 61 | 76 65 20 77 72 69 74 74 |e:.>I ha|ve writt|
|00000230| 65 6e 20 61 20 54 53 52 | 20 74 68 61 74 20 63 61 |en a TSR| that ca|
|00000240| 6e 20 73 65 6e 64 20 64 | 61 74 61 20 62 65 74 77 |n send d|ata betw|
|00000250| 65 65 6e 20 57 69 6e 64 | 6f 77 73 20 61 6e 64 20 |een Wind|ows and |
|00000260| 44 4f 53 2e 20 0a 3e 53 | 6f 6d 65 20 70 61 72 74 |DOS. .>S|ome part|
|00000270| 73 20 6f 66 20 74 68 69 | 73 20 63 6f 6d 6d 75 6e |s of thi|s commun|
|00000280| 69 63 61 74 69 6f 6e 20 | 68 61 73 20 74 6f 20 62 |ication |has to b|
|00000290| 65 20 77 72 69 74 74 65 | 6e 20 69 6e 20 41 73 73 |e writte|n in Ass|
|000002a0| 65 6d 62 6c 65 72 2c 20 | 73 6f 20 49 20 0a 3e 68 |embler, |so I .>h|
|000002b0| 61 76 65 20 77 72 69 74 | 74 65 6e 20 69 74 20 61 |ave writ|ten it a|
|000002c0| 6c 6c 20 69 6e 20 61 73 | 73 65 6d 62 6c 65 72 2e |ll in as|sembler.|
|000002d0| 0a 3e 54 6f 20 77 72 69 | 74 65 20 61 20 6e 65 77 |.>To wri|te a new|
|000002e0| 20 66 75 6e 63 74 69 6f | 6e 2c 20 49 20 6e 65 65 | functio|n, I nee|
|000002f0| 64 20 74 6f 20 6b 6e 6f | 77 20 65 78 61 63 74 6c |d to kno|w exactl|
|00000300| 79 20 77 68 61 74 20 61 | 20 52 45 54 55 52 4e 20 |y what a| RETURN |
|00000310| 73 74 61 74 65 6d 65 6e | 74 20 0a 3e 64 6f 65 73 |statemen|t .>does|
|00000320| 20 69 6e 20 43 2b 2b 3b | 20 68 6f 77 20 64 6f 65 | in C++;| how doe|
|00000330| 73 20 69 74 20 74 72 61 | 6e 73 6c 61 74 65 20 69 |s it tra|nslate i|
|00000340| 6e 20 41 73 73 65 6d 62 | 6c 65 72 3f 0a 3e 0a 3e |n Assemb|ler?.>.>|
|00000350| 42 65 72 74 69 6c 0a 3e | 0a 0a 20 72 65 74 75 72 |Bertil.>|.. retur|
|00000360| 6e 20 74 79 70 65 20 20 | 20 72 65 67 69 73 74 65 |n type | registe|
|00000370| 72 73 20 74 6f 20 6c 6f | 61 64 0a 20 2d 2d 2d 2d |rs to lo|ad. ----|
|00000380| 2d 2d 2d 2d 2d 2d 2d 20 | 20 20 2d 2d 2d 2d 2d 2d |------- | ------|
|00000390| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 20 20 63 68 |--------|---. ch|
|000003a0| 61 72 20 20 20 20 20 20 | 20 20 20 20 61 6c 0a 20 |ar | al. |
|000003b0| 20 73 68 6f 72 74 20 20 | 20 20 20 20 20 20 20 61 | short | a|
|000003c0| 78 0a 20 20 6c 6f 6e 67 | 20 20 20 20 20 20 20 20 |x. long| |
|000003d0| 20 20 65 61 78 20 28 77 | 69 74 68 20 61 20 33 32 | eax (w|ith a 32|
|000003e0| 20 62 69 74 20 63 6f 6d | 70 69 6c 65 72 29 0a 20 | bit com|piler). |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 64 | | d|
|00000400| 78 3a 61 78 20 28 77 69 | 74 68 20 61 20 31 36 20 |x:ax (wi|th a 16 |
|00000410| 62 69 74 20 63 6f 6d 70 | 69 6c 65 72 29 0a 20 20 |bit comp|iler). |
|00000420| 70 6f 69 6e 74 65 72 73 | 20 20 20 20 20 20 65 61 |pointers| ea|
|00000430| 78 20 28 33 32 20 62 69 | 74 20 63 6f 6d 70 69 6c |x (32 bi|t compil|
|00000440| 65 72 2f 66 6c 61 74 20 | 6d 65 6d 6f 72 79 20 6d |er/flat |memory m|
|00000450| 6f 64 65 6c 29 0a 20 20 | 20 20 20 20 20 20 20 20 |odel). | |
|00000460| 20 20 20 20 20 20 64 78 | 3a 61 78 20 28 64 78 3d | dx|:ax (dx=|
|00000470| 73 65 67 6d 65 6e 74 2c | 20 61 78 3d 6f 66 66 73 |segment,| ax=offs|
|00000480| 65 74 29 0a 0a 0a 0a | |et).... | |
+--------+-------------------------+-------------------------+--------+--------+